package alex.rsx.reader;

import java.util.Vector;

import alex.rsx.activity.r.R;
import android.graphics.Typeface;



/**
 * 
 * 阅读设置
 * 
 * @author Alex.Lu
 *
 */
public class ReaderConfig {

	
	
	public static Vector<ReadAttribute> READBG_MAP;
	public static Vector<ReadAttribute> READMODE;
	public static Vector<ReadAttribute> READFONTSTYLE;
	public static Vector<ReadAttribute> READFAMILY;
	static{
		
		READFONTSTYLE = new Vector<ReadAttribute>();
		
		ReadAttribute a1 = new ReadAttribute();
		a1.mKey = Typeface.NORMAL;
		a1.mValue = "默认";
		READFONTSTYLE.add(a1);
		
		ReadAttribute a2 = new ReadAttribute();
		a2.mKey = Typeface.ITALIC;
		a2.mValue = "斜体";
		READFONTSTYLE.add(a2);
		
		ReadAttribute a3 = new ReadAttribute();
		a3.mKey = Typeface.BOLD;
		a3.mValue = "粗体";
		READFONTSTYLE.add(a3);
		
		ReadAttribute a4 = new ReadAttribute();
		a4.mKey = Typeface.BOLD_ITALIC;
		a4.mValue = "粗斜体";
		READFONTSTYLE.add(a4);
		
		READFAMILY = new Vector<ReadAttribute>();
		ReadAttribute b1 = new ReadAttribute();
		b1.mValue = "MONOSPACE";
		b1.mValue2 = Typeface.MONOSPACE;
		READFAMILY.add(b1);
		
		ReadAttribute b2 = new ReadAttribute();
		b2.mValue = "SANS_SERIF";
		b2.mValue2 = Typeface.SANS_SERIF;
		READFAMILY.add(b2);
		
		ReadAttribute b3 = new ReadAttribute();
		b3.mValue = "SERIF";
		b3.mValue2 = Typeface.SERIF;
		READFAMILY.add(b3);
		
		/*******************************************************
		 * 
		 * 阅读的背景和壁纸
		 *****************************************************/
		READBG_MAP = new Vector<ReadAttribute>();
		ReadAttribute a = new ReadAttribute();
		a.mKey = R.drawable.wallpaper_small_1;
		a.mValue = R.drawable.wallpaper1;
		a.mValue2 = 0xff333333;
		a.mValue3 = R.drawable.wallpaper_small_1;
		READBG_MAP.add(a);
		
		ReadAttribute b = new ReadAttribute();
		b.mKey = R.drawable.wallpaper_small_2;
		b.mValue = R.drawable.wallpaper2;
		b.mValue2 = 0xff213421;
		b.mValue3 = R.drawable.wallpaper_small_2;
		READBG_MAP.add(b);
		
		ReadAttribute c = new ReadAttribute();
		c.mKey = R.drawable.wallpaper_small_3;
		c.mValue = R.drawable.wallpaper3;
		c.mValue2 = 0xff320510;
		c.mValue3 = R.drawable.wallpaper_small_3;
		READBG_MAP.add(c);
		
		ReadAttribute d = new ReadAttribute();
		d.mKey = R.drawable.wallpaper_small_4;
		d.mValue = R.drawable.wallpaper4;
		d.mValue2 = 0xff281b07;
		d.mValue3 = R.drawable.wallpaper_small_4;
		READBG_MAP.add(d);
		
		ReadAttribute e = new ReadAttribute();
		e.mKey = R.drawable.wallpaper_small_5;
		e.mValue = R.drawable.wallpaper5;
		e.mValue2 = 0xff8fa5c9;
		e.mValue3 = R.drawable.wallpaper_small_5;
		READBG_MAP.add(e);
		
		ReadAttribute f = new ReadAttribute();
		f.mKey = R.drawable.wallpaper_small_6;
		f.mValue = R.drawable.wallpaper6;
		f.mValue2 = 0xffdacfa6;
		f.mValue3 = R.drawable.wallpaper_small_6;
		READBG_MAP.add(f);
		
/*		ReadAttribute g = new ReadAttribute();
		g.mKey = R.drawable.wallpaper_small_7_;
		g.mValue = R.drawable.wallpaper7;
		g.mValue2 = 0xffffffff;
		READBG_MAP.add(g);*/
		
		READMODE = new Vector<ReadAttribute>();
		ReadAttribute x = new ReadAttribute();
		x.mKey = PageWidget.FW_SIMULAT;
		x.mValue = "仿真翻页";
		READMODE.add(x);
		
		ReadAttribute z = new ReadAttribute();
		z.mKey = PageWidget.FW_DRAG_UD;
		z.mValue = "上下拖动";
		READMODE.add(z);
		
		ReadAttribute y = new ReadAttribute();
		y.mKey = PageWidget.FW_DRAG_RL;
		y.mValue = "左右拖动";
		READMODE.add(y);
		
		ReadAttribute u = new ReadAttribute();
		u.mKey = PageWidget.FW_SLIDE_UD;
		u.mValue = "上下滑动";
		READMODE.add(u);
		
		ReadAttribute v = new ReadAttribute();
		v.mKey = PageWidget.FW_SLIDE_RL;
		v.mValue = "左右滑动";
		READMODE.add(v);
		
		
		
	}
	
}
